package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface ApplypoorMapper extends BaseMapper<Applypoor> {
    @Select("select * from user where username=#{username}")
    User findByUserName(String username);
    Integer add(Applypoor applypoor);
    Integer deleteApplypoor(Applypoor applypoor);
    Integer updateApplypoor(Applypoor applypoor);
    List<Applypoor> selectAll();
    Applypoor findById(Applypoor applypoor);
    List<MonitorInfo> getlist(MonitorInfo monitorInfo);
    Integer logout1(ApprovalInfo approvalInfo);
    Integer add2(HelpPlus helpPlus);
    List<MonitorInfo> searchState(MonitorInfo monitorInfo);
}
